add IPython notebook warning to show()
divided js code into elements and moved to src directory