added skeleton javascript.