Clean up

Added Javascript doc comments to frontend files