     context = canvas.getContext('webgl')
     context = canvas.getContext('experimental-webgl') unless context?
 
-    # Load appropriate webfits library asynchronously
+    # Load appropriate WebFITS library asynchronously
     lib = if context? then 'gl' else 'canvas'
     url = "javascripts/webfits-#{lib}.js"
     $.getScript(url, =>

  
  getColorLayers: ->
    layers = []
    layers.push @where({band: 'g'})[0]
    layers.push @where({band: 'r'})[0]
    layers.push @where({band: 'i'})[0]
    return layers

# Model representing a single FITS image.  Used to store computed and state parameters
class Layer extends Backbone.Model

  constructor: (selector) ->
    super selector
    
    @stretch = 'linear'
    
    # Run when the WebFITS API is received
    @on 'swviewer:ready', =>
      # NOTE: Dimensions and global extent are hard coded
      el = document.querySelector(@selector)
