Added credits, moved js to separate file