updated to 1.0.1 and added onPostInit hook to fill in markup in index.html