Added javascript code
blueprint