Better handling for vanilla JS implemented layers via Lysertron.Layer.extend()